package entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "Connections")
public class Connection {
	@Column(name = "hostuuid")
	@Id
	private String host;
	@Column(name = "connecteduuid")
	@Id
	private String target;
	
	
	public Connection(){
		
	}
	
	//Getters
	public String getHost(){
		return host;
	}
	public String getTarget(){
		return target;
	}
	
	//Setters
	public void setHost(String host){
		this.host = host;
	}
	public void setTarget(String target){
		this.target = target;
	}
}
